<div id="login" class="is_admin_login_true">
<div class="top fn-pngfix"></div>
<form id="uform" action="{url('default/login')}">
<div class="in fn-clear">
    <input type="text" name="username"  datatype="*" placeholder="用户名" nullmsg="请填写用户名" x-webkit-speech />
    <input type="password" name="password"datatype="*" placeholder="密码" nullmsg="请填写密码"  autocomplete="off"  />
</div>
<div class="fn-clear"><button class="submit fullBtnBlue" type="submit">登 录</button></div>
</form>
</div>
<script type = "text/javascript" >
Do('form','dialog',function(){$("#uform").Validform({btnSubmit:".submit",ajaxPost:true,tiptype:4,callback:function(data){if(data.status=="1"){$.dialog.top.location.href="{url('default/index')}"}else{$.dialog.alert(data.info)}}});})
</script>
